var utils = {
	getUrlParameter : function(key) {
		return (document.location.search.match(new RegExp("(?:^\\?|&)" + key
				+ "=(.*?)(?=&|$)")) || ['', null])[1];
	},
	addBookmark : function(title, url) {
		if (window.sidebar) {
			window.sidebar.addPanel(title, url, "");
		} else if (document.all) {
			window.external.AddFavorite(url, title);
		} else {
			$.msgBox.alert({
            title : 'Tips',
			msg : 'Unfortunately, your browser does not support this action,'
					+ ' please bookmark this page manually by pressing Ctrl + D on PC or Cmd + D on Mac.',
			icon : 'warning',
			width : 600
		});
		}
	}
}